[INFO] fetching crate near-contract-standards 5.28.2...
[INFO] fixing near-contract-standards-5.28.2 against try#622891a4e29178280638a6b63a8908bde2c0c854+cargoflags=-Zfix-edition=start=2015 for pr-157817-2
[INFO] extracting crate near-contract-standards 5.28.2 into /workspace/builds/worker-3-tc1/source
[INFO] started tweaking crates.io crate near-contract-standards 5.28.2
[INFO] finished tweaking crates.io crate near-contract-standards 5.28.2
[INFO] tweaked toml for crates.io crate near-contract-standards 5.28.2 written to /workspace/builds/worker-3-tc1/source/Cargo.toml
[INFO] validating manifest of crates.io crate near-contract-standards 5.28.2 on toolchain 622891a4e29178280638a6b63a8908bde2c0c854
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate crates.io crate near-contract-standards 5.28.2 already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded near-sdk-env v0.1.1
[INFO] [stderr]   Downloaded near-sys v0.2.10
[INFO] [stderr]   Downloaded near-sdk-macros v5.28.2
[INFO] [stderr]   Downloaded near-global-contracts v0.2.1
[INFO] [stderr]   Downloaded near-abi v0.4.4
[INFO] [stderr]   Downloaded near-sdk-core v4.1.2
[INFO] [stderr]   Downloaded near-gas v0.3.6
[INFO] [stderr]   Downloaded near-crypto-hash v0.2.0
[INFO] [stderr]   Downloaded near-account-id v2.6.0
[INFO] [stderr]   Downloaded digest-io v0.1.0
[INFO] [stderr]   Downloaded cfg_eval v0.1.2
[INFO] [stderr]   Downloaded near-token v0.3.4
[INFO] [stderr]   Downloaded near-sdk v5.28.2
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3a6becf2bc8dde7f3fa57ede90e4f284e72d296796fc446bbb1e2c7cc0530151" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 8c3571ab301d61352514c766f33863cab98f479974f81f9fbde1b671ca846450
[INFO] running `Command { std: "docker" "start" "8c3571ab301d61352514c766f33863cab98f479974f81f9fbde1b671ca846450", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "8c3571ab301d61352514c766f33863cab98f479974f81f9fbde1b671ca846450" "/opt/rustwide/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "8c3571ab301d61352514c766f33863cab98f479974f81f9fbde1b671ca846450", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=" "-e" "RUSTDOCFLAGS=" "-w" "/opt/rustwide/workdir" "--user" "0:0" "8c3571ab301d61352514c766f33863cab98f479974f81f9fbde1b671ca846450" "/opt/rustwide/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "fix" "--allow-no-vcs" "--allow-dirty" "--frozen" "--all" "--all-targets" "--message-format=json" "-Zfix-edition=start=2015", kill_on_drop: false }`
[INFO] [stderr]    Compiling syn v2.0.118
[INFO] [stderr]    Compiling borsh v1.6.1
[INFO] [stderr]    Compiling serde_json v1.0.150
[INFO] [stderr]    Compiling serde v1.0.228
[INFO] [stderr]     Checking sha3 v0.11.0
[INFO] [stderr]    Compiling near-sdk-macros v5.28.2
[INFO] [stderr]     Checking near-crypto-hash v0.2.0
[INFO] [stderr]     Checking ripemd v0.1.3
[INFO] [stderr]     Checking digest-io v0.1.0
[INFO] [stderr]    Compiling Inflector v0.11.4
[INFO] [stderr]    Compiling strum v0.26.3
[INFO] [stderr]     Checking near-sys v0.2.10
[INFO] [stderr]     Checking near-sdk-env v0.1.1
[INFO] [stderr]    Compiling darling_core v0.23.0
[INFO] [stderr]    Compiling darling_core v0.20.11
[INFO] [stderr]    Compiling serde_derive v1.0.228
[INFO] [stderr]    Compiling borsh-derive v1.6.1
[INFO] [stderr]    Compiling strum_macros v0.26.4
[INFO] [stderr]    Compiling cfg_eval v0.1.2
[INFO] [stderr]    Compiling darling_macro v0.20.11
[INFO] [stderr]    Compiling darling v0.20.11
[INFO] [stderr]    Compiling darling_macro v0.23.0
[INFO] [stderr]    Compiling darling v0.23.0
[INFO] [stderr]    Compiling serde_with_macros v3.21.0
[INFO] [stderr]     Checking serde_with v3.21.0
[INFO] [stderr]     Checking near-account-id v2.6.0
[INFO] [stderr]     Checking near-gas v0.3.6
[INFO] [stderr]     Checking near-token v0.3.4
[INFO] [stderr]     Checking near-sdk-core v4.1.2
[INFO] [stderr]     Checking near-global-contracts v0.2.1
[INFO] [stderr]     Checking near-sdk v5.28.2
[INFO] [stdout] error: 1. 🔨️  Use `cargo near build` instead of `cargo build` to compile your contract
[INFO] [stdout]        💡  Install cargo-near from https://github.com/near/cargo-near
[INFO] [stdout]        
[INFO] [stdout]        2. ✅ Use `cargo check --target wasm32-unknown-unknown` instead of `cargo check` to error-check your contract
[INFO] [stdout]        
[INFO] [stdout]        3. ⚙️ Only following cfg-s are considered VALID for `near-sdk`:
[INFO] [stdout]          - `#[cfg(near)]` (set by `cargo-near`. uses on-chain host-functions)
[INFO] [stdout]          - `#[cfg(target_family = "wasm")]` (uses pure-Rust fallbacks. not for on-chain use)
[INFO] [stdout]          - `#[cfg(feature = "non-contract-usage")]` (intended for use of `near-sdk` in non-contract environment. NOTE: consider using leaf crates)
[INFO] [stdout]          - `#[cfg(feature = "unit-testing")]` (intended for use of `near-sdk` as one of `[dev-dependencies]`)
[INFO] [stdout]          - `#[cfg(feature = "__abi-generate")]`
[INFO] [stdout]          - `#[cfg(test)]`
[INFO] [stdout]          - `#[cfg(doctest)]`
[INFO] [stdout]          - `#[cfg(docsrs)]` (set by docs.rs when building documentation)
[INFO] [stdout]          - `#[cfg(clippy)]`
[INFO] [stdout]        ⚠️ a cfg, which is not one of the above, results in CURRENT compilation error to be emitted.
[INFO] [stdout]        
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/near-sdk-5.28.2/src/lib.rs:142:1
[INFO] [stdout]     |
[INFO] [stdout] 142 | / compile_error!(
[INFO] [stdout] 143 | |     r#"1. 🔨️  Use `cargo near build` instead of `cargo build` to compile your contract
[INFO] [stdout] 144 | | 💡  Install cargo-near from https://github.com/near/cargo-near
[INFO] [stdout] ...   |
[INFO] [stdout] 159 | | "#
[INFO] [stdout] 160 | | );
[INFO] [stdout]     | |_^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `near-sdk` (lib) due to 1 previous error
[INFO] running `Command { std: "docker" "inspect" "8c3571ab301d61352514c766f33863cab98f479974f81f9fbde1b671ca846450", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "8c3571ab301d61352514c766f33863cab98f479974f81f9fbde1b671ca846450", kill_on_drop: false }`
[INFO] [stdout] 8c3571ab301d61352514c766f33863cab98f479974f81f9fbde1b671ca846450
